html {
  font-size: 16px;
  text-align: center;
  color: #bebebe;
}
* {
  padding: 0;
  margin: 0;
}
body {
  background-color: #363535;
}
.main {
  display: flex;
}
/* 播放器 */
.audio {
  padding: 1rem 0;
}
.list {
  text-align: center;
  padding: 1.5rem 0;
}
.container {
  height: 450px;
  overflow: hidden;
}
.lrc-list {
  transition: all 0.5s;
}
.lrc-list li {
  font-size: 1.2rem;
  line-height: 2.5rem;
  transition: all 0.5s;
}
.lrc-list .active {
  color: #fff;
  transform: scale(1.5);
}
/* 购物车 */
.nav {
  width: 5rem;
  background-color: #e5e7e7;
  height: 100vh;
}
.nav li {
  padding: 1rem 0;
  font-size: 1rem;
  color: #3f3e3e;
  text-align: center;
}
.nav .active {
  color: #fff;
}
.cart {
  flex: 1;
  padding: 0.5rem;
}
.item {
  padding: 0.25rem;
  display: flex;
}
.cart .item .thumb {
  width: 4.5rem;
  height: 4.5rem;
}
.cart .item .thumb img {
  width: 100%;
  height: 100%;
}
.cart .item .con {
  flex: 1;
  padding: 0 0.25rem 0 0.5rem;
  text-align: left;
}
.cart .item .con p {
  font-size: 0.65rem;
}
.cart .item .con span {
  font-size: 0.85rem;
  white-space: nowrap; /* 强制文本在一行显示 */
  overflow: hidden; /* 超出部分隐藏 */
  text-overflow: ellipsis;
  display: block;
  max-width: 12.5rem;
}
.cart .item .con .action {
  display: flex;
  justify-content: space-between;
  padding-top: 0.5rem;
}
.cart .item .con .action .price {
  font-size: 1rem;
}
.cart .item .con .oprate {
  display: flex;
  justify-content: space-between;
  width: 3.5rem;
}
.settlement {
  color: #363535;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  bottom: 0;
  background-color: #121312;
  height: 2.8rem;
}
.settlement .count {
  font-size: 1.2rem;
  position: relative;
  border-radius: 50%;
  background-color: #121312;
  width: 3rem;
  height: 3rem;
  top: -0.5rem;
  left: 0.5rem;
  /* transform: translate(0.5rem, -30%); */
}
.settlement .count .radius {
  border-radius: 50%;
  background-color: #313333;
  width: 2.5rem;
  height: 2.5rem;
  transform: translate(0.25rem, 0.25rem);
}
.active {
  background-color: #0995cc;
}
.settlement .count .icon {
  width: 1.5rem;
  transform: translate(0.05rem, 0.5rem);
}
.settlement .count .badge {
  font-size: 0.75rem;
  position: absolute;
  font-style: normal;
  top: -0.25rem;
  right: -0.25rem;
  border-radius: 50%;
  background-color: #ee1606;
  color: #fff;
  width: 1.25rem;
  height: 1.25rem;
  line-height: 1.25rem;
  display: none;
}
.settlement .count .badge.active {
  display: block;
}
.settlement .price {
  font-size: 1.2rem;
  flex: 1;
  text-align: left;
  padding: 0.15rem 0 0.15rem 1.5rem;
  align-items: center;
  line-height: 1.05rem;
  color: #e9e3e3;
}
.settlement .price p {
  font-size: 1.25rem;
  line-height: 1.25rem;
}
.settlement .price span {
  font-size: 0.75rem;
  line-height: 0.85rem;
}
.settlement .submit {
  min-width: 5rem;
  max-width: 16rem;
  height: 2rem;
  background-color: #fff;
  border-radius: 1rem;
  font-size: 1rem;
  line-height: 2rem;
  border: none 0;
  margin-right: 0.5rem;
  color: #4c4e4e;
  padding: 0 1rem;
}
.settlement .submit.active {
  background-color: #34ac1c;
}

.add-to-cart {
  width: 2rem;
  height: 2rem;
  position: fixed;
  transition: 1.5s linear;
  top: 0;
  left: 0;
}
.add-to-cart .icon {
  width: 1.5rem;
  height: 1.5rem;
  background-color: #0995cc;
  transition: 1.5s cubic-bezier(0.5, -0.5, 1, 1);
  border-radius: 50%;
  padding: 0.25rem;
}
.shake {
  animation: animation 1.5s ease-in-out;
}
@keyframes animation {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(0.85);
  }
  50% {
    transform: scale(1.1);
  }
  75% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

.card {
  width: 15rem;
  height: 16rem;
  border-radius: 0.5rem;
  transition: .6s;
  transform: perspective(1000px) rotateX(var(--rX, 0deg))
    rotateY(var(--rY, 0deg));
}
